package org.example.easybuy.entity;

import java.io.Serializable;
import java.util.Map;

public class Car {
    private String loginName;
    private int totalNum;
    private double totalPrice;
    private Map<Integer,CarDetail> carDetailMap;

    public String getLoginName() {
        return loginName;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }

    public int getTotalNum() {
        return totalNum;
    }

    public void setTotalNum(int totalNum) {
        this.totalNum = totalNum;
    }

    public double getTotalPrice() {
        return totalPrice;
    }

    public void setTotalPrice(double totalPrice) {
        this.totalPrice = totalPrice;
    }

    public Map<Integer, CarDetail> getCarDetailMap() {
        return carDetailMap;
    }

    public void setCarDetailMap(Map<Integer, CarDetail> carDetailMap) {
        this.carDetailMap = carDetailMap;
    }
}
